[HELIX-360] Remove code duplication for list of required paths