save the repository credentials to /mnt during upgrade (bnc#876151)

libzypp is already switched to the target system

- 3.1.49