fix #2385: relative links in OC caches lead to crash