Fix heroku remote detection