Trim whitespace when adding repos. Fixes #5