Drop redundant code from Atom parser

There is no point in putting anything in `name` after setting `invalid` to `TRUE`, since `name` is then not going to be used anyway, and is only going to be deallocated again a few lines later.