Added some git magic to fit travis cloning approach