handling NULL source_dsids in datastream_access hook

This commit will be coming shortly*TM to 7.x in another request.