Resolves: fdo#85006 limit script stripping to known suffixes

Change-Id: I276535b007bbb55555148d5937076b86da5de825