Changed local environment detection in definesite.py - disregards Heroku