Invalid package type "" found in get_package_type