Properly handle installation errors in forms.
Test if there is already an object with the same identifier before trying to install a source.