Fix enabled detection in extension after Nette 2.2 support