NetteExtension: fixed compatibility with deprecated Connection::getSelectionFactory()