Issue #167: Fix fatal error during UI install.

PR for https://github.com/backdrop/backdrop-issues/issues/167.