Prefer DYNO name over system hostname on Heroku, fixes #1742