build: apply_profile: only deleted reghack-bin after successful apply