bugfix: do not distinguish between local and remote entries if the permutation is global. (also: deleted some duplicate code)
bugfix: do not distinguish between local and remote entries if the permutation is global. (also: deleted some duplicate code)

RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST