A drug dealer has been handed a lengthy prison sentence after police twice caught him being taxied around with large quantities of Class A drugs.