A man who fitted central heating boilers at two houses in Greater Manchester has received a suspended prison sentence, after he admitted he did not have the required safety registration to do the work.