add role detection based on repo_db key packages