checkout develop if version doesn't exist

The API projects might not be in a synchronous
tag; checkout develop if the tag is not found.

Change-Id: I6c525b509de32a04d4a50ce72cc656ff4eaefba8