Local chemical environment effect in single-atom catalysis