fixes MARMOTTA-305 - was caused because Context was not considered in ResourceUtils