Changed environment detection

The environment will be set to 'local' if the ServerName is
"moodbar.dev".