improve lastUpdatePlugin: check if ./.git exists