Add handling for unregistered variable to get meaningful path