this was from the initial commit for the apphooks functionality 4 years ago. 

https://github.com/divio/django-cms/commit/1b16cd4322c032441858af23a35ed87ceb223f06

It probably is a leftover from the menu_pool or plugin_pool where the inline import is required. I say we can move this safely out of the function and at the top.