Background: Running SUSE Mgr 2.1 and using SLES 12 virtual machines in vmware.

When registering a system using the bootstrap script I sometimes run into registering a system with an existing systemid. This ends up replacing the existing system in susmgr with the newly registered system. Has anyone happen to come across anyone who has modified the bootstrap script to check to see if the systemid already exists ?

If not can someone point me in the right direction on how to check for it ? That way I can try to avoid this. One solution I've been trying is to check for the systemid file and if it exists delete it.