Allow using a parent directory of the old package as the new package dir
I couldn't choose /a/b as the new package dir for files that had package dir /a/b/c/d previously without the resulting links being broken.
This fixes it, but is it compliant with the expected CoBRA file locations @MatthiasMayer ?
Edited  by Jonathan Külz