installer: quote variable tested by -z

fixes wp-cli/wp-cli#490