Add fail-safe parameter in order to ignore error when remote directory does not exist