Fixed bug that caused the build to fail if the SCM does not implement the getAffectedFiles method