Fixed: Faulty name extracting from path in resources if resource is without prefix.