Only add heroku to the path if it exists