diff --git a/lib/platform/git/storage.ts b/lib/platform/git/storage.ts
index aa1d0b67d5e1d0c6493813356f075122e48f0007..fe4838b3dbcf9a31d2f460d5b235bfda80bba740 100644
--- a/lib/platform/git/storage.ts
+++ b/lib/platform/git/storage.ts
@@ -308,12 +308,7 @@ export class Storage {
   async getFileList(): Promise<string[]> {
     const branch = this._config.baseBranch;
     const submodules = await this.getSubmodules();
-    const files: string = await this._git.raw([
-      'ls-tree',
-      '-r',
-      '--name-only',
-      branch,
-    ]);
+    const files: string = await this._git.raw(['ls-tree', '-r', branch]);
     // istanbul ignore if
     if (!files) {
       return [];
@@ -321,6 +316,8 @@ export class Storage {
     return files
       .split('\n')
       .filter(Boolean)
+      .filter((line) => line.startsWith('100'))
+      .map((line) => line.split(/\t/).pop())
       .filter((file: string) =>
         submodules.every((submodule: string) => !file.startsWith(submodule))
       );