Fix #402 - trim whitespace when reading plugin list