Hey I had the same problem. Took me a whole night to figure it out. Did you use a Mac to create those folders and move those files? Try doing the same thing in Windows (virtual machines are also fine). It seems like homebrew doesn't recognize folders created by macOS. Weird.