Checks for SLES12 to enable Storage repositories

Can we avoid saving twice? Just use a dirty flag and save if it's set.