A husband who lay in wait for his wife to arrive at their home's garage before killing her with a metal car ramp has been sentenced to 24 years in prison.