add check to ensure given file is srpm in myrepo.cli