try moving to before_install section, git commands seem to be ignored