IV-4861 Only unregister the instance if we are terminating or if DECOM_REASON is not set
IV-4861 Only unregister the instance if we are terminating or if DECOM_REASON is not set

rightscale/rightlink_scripts