fixing $package_name is_string check #35