Handle exit holes (o_scanid) in the system scanner paste parser

I've never used Flask nor looked at the tracker code before attempting this change, so I'm not sure if this is the best way to do it. Hopefully it's at least clear what I was trying to do.