Fix host selection variable
Merge pull request #1666 from mitodl/cg/mariadb_fixes

Fix host selection variable