Fix detection for rebase in progress

Looks like the rebase state dir has changed in recent versions of git
http://stackoverflow.com/questions/3921409/how-to-know-if-there-is-a-git-rebase-in-progress#answer-3921928