Modify mirror config only if mirror is specified