Match package config. variables with their directory names