make base.pm more strict about nonexistent module check