Trouble installing dependencies

I’m getting the same problem after upgrading to 0.15.4 from the last 0.14 version. (It took this long for the new version to appear in FreeBSDs package manager, so I’d just been pinning the package set to the old version.)

In my case “spago init” appears to work, but when I try “spago build” or anything else that actually downloads packages it does this:

[error]
Failed to install dependency "effect"
Git output:

fatal: destination path '.' already exists and is not an empty directory.

Aborting installation..

And it does that for each dependency. The directory never changes after “init” (“.spago” contains an empty directory for each dependency):

.gitignore
.purs-repl
.spago/
packages.dhall
spago.dhall
src/
test/

I’ve tried obvious stuff like rebooting and un/reinstalling to no effect.
Any ideas?