I think it's fine, IntelliJ became smarter and identifies the path and inserts `$MODULE_DIR`, see https://github.com/scala/scala/pull/3708/files#diff-28f73def90f814ef684cfb478a660a53R8