Fixed path parsing issue with absolute paths