Fix travis job id detection