Improving the way we check the remote repo's current state.
Merge pull request #1 from etuchscherer/Verify_Remote_Head

Improving the way we check the remote repo's current state.