Don't define MirrorCommand if already defined.
Merge pull request #1044 from akr/fix-mirror

Don't define MirrorCommand if already defined.