Fix for patch
Will now ignore non-valid paths