Insert workaround for strange bug with empty ver and dist.