Implement CompileStep.readAssetFromPackage

A rather hacky feature for #2506 and #2606