Fix ResourceLocator not working with multiple paths