We have to use `stat` instead of `lstat` inside `isdir` method, since
the first one returns `True` even for symlinks to folders.
The fix is very important when we need to download some folder that
contains a symlink to another one.
Shootgun uses a fabric.api.get method to download some folder from the
remote host. Unfortunately, this method has a bug and fails when we
trying to download a folder that contains a symlink to another one.
So we need to patch fabric api to prevent us from such falls. The issue
with fabric api is that it recognize all symlinks as a file. As a result
we fails when trying to download a folder (pointed by a symlink) as
The patch was proposed to the fabric master branch and can be reviewed