### Description When runnings an export to a directory structure, the export fails on exporting hooks ### Reproduction Running command `a0deploy export -c config.json -f directory -o .` fails with: ``` 2020-02-10T22:10:25.910Z - error: Problem running command export 2020-02-10T22:10:25.910Z - error: Problem exporting hooks ``` ### Environment - a0deploy 4.0.1 - macOS Mojave and macOS Catalina