Api: Ftp files return empty list instead of raising error if directory is missing