A motorist found with a revolver and loaded magazine in a car during a pursuit in Preston has been caged for six years.