Fixed issues with using web installer due to variable name change

As reported by @nicearma in issue #322.