Generate proper urls for deploying to the Companion App

fixes #268999
Merge pull request #340 from Icenium/totev/fix-icenium-uri-scheme

Generate proper urls for deploying to the Companion App