Fixed building of app URIs with a domain only.
Merge pull request #127 from scottfrederick/domain

Fixed building of app URIs with a domain only.