Update EnvironmentRepository to manage environments_paths on add() and remove()