prevent committing to a mirror repository

shall fix #354