Fix duplicates when listing multiple activity statuses
Fix duplicates when listing multiple activity statuses

The final foreach encountered the magical effect of reusing a variable name that
was previously a reference. Purer example: https://3v4l.org/ZqqfL

platformsh/platformsh-cli,platformsh/platformsh-cli,platformsh/platformsh-cli