This expands the value of the creates parameter the same way which the value of the dest parameter is already being expanded. Fixes #26965