nicer error message if resource is not CardDAV

"backport" from vdirsyncer