Use pwd instead of ls. If the directory is empty callback will not be called.