Two men who admitted making hoax warnings about bombs at the homes of senior Sinn Féin members have avoided prison.