Make check_path more generic
SourceControl -> ObejectPresence

Since some of the code can be reused for other, *very* similar things,
might as well put all the similar stuff in the same file.