Fixed minor win bug in path_exists