Catch more dbus errors

Got an exception in get_object(), let's handle any failure
Add --switch-branch option

Only works for git for now
Force passing a project.yaml file as first argument