Fix warnings from dvswitchsrc property handling.

Fixes #4