Merge pull request #528 from antmicro/wsip/hier_path

Fix hier path processing