diff --git a/lib/ImageHelper.php b/lib/ImageHelper.php
index <HASH>..<HASH> 100644
--- a/lib/ImageHelper.php
+++ b/lib/ImageHelper.php
@@ -308,7 +308,7 @@ class ImageHelper {
 	protected static function process_delete_generated_files( $filename, $ext, $dir, $search_pattern, $match_pattern = null ) {
 		$searcher = '/'.$filename.$search_pattern;
 		$files = glob($dir.$searcher);
-		if ( $files === false ) {
+		if ( $files === false || empty($files) ) {
 			return;
 		}
 		foreach ( $files as $found_file ) {
diff --git a/tests/test-timber-image-helper.php b/tests/test-timber-image-helper.php
index <HASH>..<HASH> 100644
--- a/tests/test-timber-image-helper.php
+++ b/tests/test-timber-image-helper.php
@@ -72,6 +72,12 @@
 			$exists = file_exists( $resized_path );
 			$this->assertTrue( $exists );
 		}
+		/**
+		 * @doesNotPerformAssertions
+		 */
+		function testDeleteFalseFile() {
+			TimberImageHelper::delete_generated_files('/etc/www/image.jpg');
+		}
 
 		function testLetterbox() {
 			$file_loc = TestTimberImage::copyTestImage( 'eastern.jpg' );
ref #<I> -- try hitting false to confirm functionality