Alternative fix for case sensitivity issue. Resource URLs are generated from canonical file paths so the expected paths need to be canonical as well.