Use get_active_version in motion.__unicode__()

Fixes the bug, that motion.__unicode__() raises an AttributeError, if the active_version
was None.

Fixes #822