Refine the path determination criteria

Only limit the pkg/ path based component detection for packages' path
format of type pkg/*/*

For free flowing packages, like say pkg/pkg-name/, it'll fallback to the
default component if none specified in d/a/component file
Signed-off-by: Ritesh Raj Sarraf's avatarRitesh Raj Sarraf <>
parent 7b407238
Pipeline #134798 passed with stages
in 21 minutes and 43 seconds