Fix an issue with shell expansions.