bugfix for encrypted install and blank hostname