Version 2.20.0: 'error: location is not set' during build

After an update to version 2.20.0 (from 2.19.1), I get the error “error: location is not set” when I want do build the software.
Has somebody an idea, what I have to do?

Do you reference a library by name instead of origin or location in mos.yml?

Change it to location. origin is deprecated.