Fixes switching between Scala Installations

It was a typo is a match case, introduced during the API refactoring
Merge pull request #781 from skyluc/issue/match-error-installations

Fixes switching between Scala Installations