patch from CCPM - Bug on distribution file reader