sync-engine-shared - Minor fixes
SOS-2363 Fix possible NoSuchRoleException if so-hook isn't deployed