I really don't like try/excepts.  Can you explicitly check if it's existing?  If not, addAGKit; if so, redirect to db_error.psp?