[BUGFIX] Warn when booting with invalid environment name

Fixes #323