Fixed bug with paths not starting with slash