fix branch detection for travis auto deploy