Fixed the issue where the instance FQDN was not included in the cache
directories path when the user sets a custom path for the root cache
directory.
Added unit tests for the cache directory calculations.
Updated REUSE.toml
Made changes/fixes based on feedback from golangci-lint.