A police officer who sparked a major investigation after claiming he was confronted by a lone gunman at his Co Fermanagh home has avoided prison.