Fix warning when there is no files