api/server: Fix ImportError after config_basepath removal
That function from swh.core.config was removed in swh-core@2663c0a4.
Edited by Antoine Lambert
Staging instance, all changes can be removed at any time
That function from swh.core.config was removed in swh-core@2663c0a4.