Fixed an issue which caused pull to throw a NothingToCommitException.