Added excludePattern to jobs.
Better version handling for rpm and debian