extract_sources works with invalid trace lines, too

The previous commit would result in a runtime error if a backtrace line
didn't conform to the required format.