Identify if installed from a package when logging in

If loading the config file doesn't set the image type we use dpkg-query
to see if piaware is installed and if so we set the image type to "package".