(re-1897) Add conditional logic for dep repo for sles11 and fix arch for sles10