Add _exec_command_retrieve_patch method