Prevent NPE when a pr is not found for a controller