Fix some issues with qualified array expansion.

$(other.array[$(other.list)]) would expand to
$(other#array[$(other.list)]) in output due to issues mapping remote
lists to "this" scope. Fix skips the outer "." to properly map.

Fixes Issue #1998, Mantis #1128
Merge pull request #421 from baptr/issue-1998

Fix some issues with qualified array expansion.