Fix NPE when parsing deviation from submodule