intall.lib.php check for leading slash

in hostname and if true set mysql user hostname to "localhost"