[mms] Fix determination of preferred backend (Bug #13548).