Fixed installation error when share/0install.net doesn't exist

Reported by Alberto Colombo.