Add 'onlyif' lookup to project post-install hook