backport protection against two process creating SOURCES/cache