Fixed Problem With SCMs that do not implement getAffectedFiles()

With the getAffectedFiles method it returns an error when the SCM does not implement it. This happened with TFS. It causes the builds to fail. With these changes it will now return null and continue with the build.