Solving a problem when no extension is enabled yet (fixes #1).