Refs #2121: Fix traceback when associate package