Generate artefact with path prefix

This allows setting the path prefix as an environment variable. Useful to generate artefacts with the appropriate path prefix from CI.