Verify plugin name before git operation on interactive install
If then plugin name check fails during the servicing of a interactive
install request, the operation should leave no traces.
Before this change, git cloning or resetting of the origin remote
occurred before checking the name. This change reverses that.