nicer error message if resource is not CalDAV

"backport" from vdirsyncer