Changes invocation of serialize_remote_roles to internal task to avoid being run during nuke