Fix some mime-type to extension mapping checks in Installer (#1489983)