Make sure shlex receives a string when installing tool dependencies along with repositories intstalled from the tool shed.