autogen.sh: not test if .git is a directory

When this project is a submodule in other project .git is a file
not a dir, so kms-dtls-plugins is not updated.

Change-Id: Ie7ae987918bd954e8816de888e37ad552ee0c9e5