RichCollectionBase's _get_src_target method would crash if "source" argument is not basestring and "target_path" is empty.
sdk/python/arvados/collection.py:816, it seems that
sourcecomponents[-1] would make the program crash before the exception raise statement:
# Determine the name to use. target_name = targetcomponents[-1] if targetcomponents[-1] else sourcecomponents[-1] if not target_name: raise errors.ArgumentError("Target path is empty and source is an object. Cannot determine destination filename to use.")