Man loses Court of Appeal challenge after pleading guilty to cultivating cannabis