get list of matching pkg dirs with glob