Trim the PuTTY path before trying to use it. Hooray for C# goto!