Issue #167: Fix fatal error during UI install.
Merge pull request #136 from quicksketch/167/fatal_install

Issue #167: Fix fatal error during UI install.