Make get_code_location work on undefined subs

(and return undef since there's no definition place)