Fixed revision checking when the path didn't already exist