lcg: refactor hwaf-installation