On a new install, this code gives `Fatal error: Call to a member function getId() on a non-object in core13\src\lib\util\CategoryUtil.php on line 108`.  On an upgrade from 1.3.5, it works!