build: register_patch() better output in logfile