git-update-dirs: Use $is_annex to determine if it's a git-annex repo

Create a $is_annex variable to check if the current repo has annex.uuid
defined. This variable can be used in other checks to find out if the
repo is used by git-annex.

0311a5da-c3a4-11e3-aae0-000df06acc56