tools.scaffold: fix "protocols.foobar" case.
tools.scaffold: fix "protocols.foobar" case.

tgunr/factor,mrjbq7/factor,tgunr/factor,mrjbq7/factor,factor/factor,tgunr/factor,mrjbq7/factor,tgunr/factor,mrjbq7/factor,tgunr/factor,mrjbq7/factor,factor/factor,factor/factor,factor/factor,factor/factor,mrjbq7/factor,factor/factor,tgunr/factor