fix removal of non-existing path-element.hpi