Try

{if $pageInfo.Key != 'homez'}
{include file='blocks'|cat:$smarty.const.RL_DS|cat:'categor ies_carousel.tpl'}
{/if}

Also is this code in content.tpl file?