Modify generation of full-context SWHID for root artifacts by omitting path classifier
the full-context SWHID for the root of the element ends with an empty path-> path=/
It is implicit that the same SWHID without the parameter path will identify the same thing
We should omit the parameter/classifier path
when it's empty.
Migrated from T2636 (view on Phabricator)