LPS-39811 Same logic (the path used by resourcecontains isn't consistent)