Fixed performance problem that would index the entire repository each time the indexer was invoked when no changes detected.
Fixed branch detection when indexing repository that would only sometimes store a single branch when multiple branches point to a particular commit.