modified the way the host name is added to the default name

Example:

if one sets the hostname to "web01"
production: 'example-web01'
staging: 'example-staging-web01'

if host is empty
production: 'example'
staging: 'example-staging'