Updated to work with git 1.7 and below that doesn't support git status --branch

Signed-off-by: Michael Welter <michael@cetoncorp.com>