Set gitrepo only when detecting device