Refs #10239 Fix unhandled exception

When searching the run log for `run_number` the NotFoundError exception
was not being caught.

This commit also makes false positives when detecting a run number less
likely: `mydata` and `mydata2` will no longer be interpretted as mydata
and run number 2.