En 52-årig mand skal to år i fængsel for at have 480 gram kokain i sit hjem.