You might want to consider guarding against the same path being added multiple times.  While that's probably a user error, it's easy enough to be extra helpful.