Check preRequirements != null before accessing them
Merge pull request #2 from jgillich/prer

Check preRequirements != null before accessing them