Fixed variable typo in the installer lib. Fixes #2590