Check project for backlogs module

The hook is called from the OP core's work package controller index
method. For index no specific WP is selected. Thus, we must use the
selected project to check if the backlogs module is activated.