maintenance: Sanity check that --replicadb isn't using the master in sql.php