added ability to get patches for custom-jdk-bundled mac installations.
(cherry picked from commit 2679d39)
idea.java.redist not null.
(cherry picked from commit 33620af)