Redirect if source resubmits the /generate form with exisiting codename

Fixes #579