[TIMOB-13167] Fixed clean command hooks.