Fixes ls: cannot access vendor/nginx: No such file or directory in debug

Error prevented slug compilation if debug mode was turned on and threw the following error:

```
ls: cannot access vendor/nginx: No such file or directory
```