CFY-516 fixed package retrieval functions for centos