fix when composite repo has no delegates
Avoid throwing when checking for disk space, fixes #2039
Merge remote-tracking branch 'kriswallsmith/composite-repo-fix'
Add test assertion