As I understand it (I think I have this right)… Assuming you are running HAOS here.
Why would that be an external directory? You should remove this…
That will look in a folder named ‘packages’ in your config folder. Your config folder and your homeassistant folder are sym-linked and are essentially the same folder.
This is all assuming you are not changing the default HAOS folder set-up, that is.
Personally I would make it clearer by using ./packages . The ‘.’ means the current folder, which would be where the configuration.yaml is located, which should in turn be the config folder.