Validating if the method is present avoid null pointer;
Changed the distributions loop method
Setting wereBuilds for ftp method;