Fix bug in hammer mirror command when used with a remote source