git-update-dirs: Don't check for modified files if $is_bare

git status generated the "fatal: This operation must be run in a work
tree" message, get rid of it.

0a901fd2-0ce0-11e4-815d-c80aa9e67bbd