Please review the attached patch which addresses the following issues:
This patch was tested by installing a CA on a 64-bit Fedora 18 machine both with and without packages to provide a "pki-server-theme".