bugfix: allocation of local permutation was done _before_ checking whether one previously existed
bugfix: allocation of local permutation was done _before_ checking whether one previously existed

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