Fix upagrade path from OPAM 1.0 to 1.1 when the current switch is not the system compiler

Bug reported by @AltGr