Greediness in `hugo convert toYAML`

I tried to convert my contents frontmatter to YAML and it succeeded, with one little issue: Hugo got greedy and tried to convert frontmatter from a random module in my temp-folder. Is this expected? The content files in the local (not modules) content are properly converted though.

CLI log
patrick@main:~/Projects/dnb-org/kollitsch.de$ hugo convert toYAML --unsafe --verbose --debug
hugo: downloading modules …
hugo: collected modules in 43319 ms
processing 59 content files
INFO 2021/11/27 16:03:00 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/hyper-shell/index.md
INFO 2021/11/27 16:03:00 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/you-got-to/index.md
INFO 2021/11/27 16:03:00 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/gitignore-for-gohugo/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/converting-frontmatter-in-gohugo/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/learning-to-git-with-git/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/colophonium/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/well-thats-a-unique-logo/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/print-ordinal-date-suffixes-in-gohugo/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/csp-vs-syntax-highlighting-in-gohugo/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/giscus-module-for-gohugo/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/music-to-program-to-1/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/game-off-2021/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/blog/2021/another-new-beginning/index.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/search.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/ideas.md
INFO 2021/11/27 16:03:01 Attempting to convert /home/patrick/Projects/dnb-org/kollitsch.de/content/contact.md
INFO 2021/11/27 16:03:01 Attempting to convert /tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/dnb-org/libraries/heroicons@v1.0.3/content/dnb/heroicons.md
Error: Failed to save file "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/dnb-org/libraries/heroicons@v1.0.3/content/dnb/heroicons.md":: open /tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/dnb-org/libraries/heroicons@v1.0.3/content/dnb/heroicons.md: permission denied

Repo