Fixed issue where package_search would echo a string