Build hpi path from artifact metadata instead of preserving the structure from -hpiDirectory