laptop: get the hostname for REST API calls from /etc/puavo/hostname

Calling `hostname' returns 'unregistered' during installation which
clearly results in wrong URL