add match for _driver and _monitor
use new get-pkg-name function