Dynamics of the photoinduced insulator-to-metal transition in a nickelate film