Raise error if path cannot be found