Made the handling of paths more robust
Merge pull request #1 from ethz-asl/fix/robustify

Made the handling of paths more robust