The role of CuO chain length on superconductivity emergence in YBa2Cu3O6.30