A 43-year-old former Department of Corrections correctional officer was caught dealing heroin in his hometown of Swansea was sentenced last week