bugfix: ignore remote_dir when it is empty
exit when conf file is not found