Do hostname check before anything else

It now starts with setting the repo's and installing some packages, then gives an error if the hostname is not a FQDN. I think it would be good to give this warning before doing anything else.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information