The wildcard operator returns full paths so use basename.