Fix variable refs for non-matching pattern in commands