It's better to use $catalogManager->getPath( $catItem->getId() ); in this case