A former leader of the Northern Ireland arm of the National Front has been given “one final chance to stay out of prison”.