change error message for invalid config
use zeros for missing epoch/release, and update comparison logic