estrip: Fix handling slashes in STRIP_MASK

Fixes: 244a62a4f275 ("Fix uses of D/ED to account for no trailing slash")
1 file changed