build: register_patch() fix indentation