Fix parsing of prod id, strip maps in release