Added try catch around getAffectedFiles to return null if SCM does not implement the interface yet