This helps to fix a bug when adding stable repos Change-Id: I3eb28a037f7eb22016a29bc36e4a791a5bfda852