Get labels before checking for NEB peak file.

If the peak exists, the algorithm skips ahead and uses it
to optimize the TS. The labeled atoms will be required when
printing the optimized TS distances to the database.