If a plugin is cloned, ensure that the plugin it is cloned from exists.

This should possibly log a warning about a possible configuration error
as well.

Fixes #9