Finally fixed the annoying asterisk after the branch name, although nothing to commit.

It appears, the message changed from "nothing to commit (working directory clean)" to "nothing to commit, working directory clean".

Fixed it by cutting everything after "nothing to commit" to be multi version compatible :)