Ignore depot type if null (for backward compatibility)

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>