Rewrote path_exists?

This seems to get things working again on Git.