Hello,
At a glance, that looks okay, because while the shell fails to match it, an AFNI program could (via the AFNI library).
But since you are using a wildcard, it must exactly match a file name on disk. So try adding .HEAD at the end of the REML+orig dataset name.
Of course, adding .HEAD will probably mean that the shell will then succeed in matching it in the 3dUndump command, and then the AFNI library will never see the '*'.
In any case, try using a complete file name.
- rick