A man who intended to take possession of cannabis worth over £17 million that had been imported from the US and was destined for West Yorkshire has been jailed.