Not required, first line of generate_payload_service checks this:

return get_custom_exe if datastore.include? 'EXE::Custom'