layman_.py: Adds exitcode evaluation for API variant sync plugin