Exit when package loading fails. Fixes #145.