Fix git describe when work directory is empty.
Merge pull request #160 from sklam/fix_order_or_git_pull

Fix git describe when work directory is empty.