Fix inverted logic bug in Travis deployment