It seems the paths are relative to the root package. Should I define the project folder as the source root of the Intellij module, instead of the package folder?
Yes, Setting the project folder as the root will change the paths to be relative to that folder
How to make Intellij (19.3) to perform absolute auto imports for python?