Neutralize some production names specific to a repository type.
Looking for .bzr as a check for top-level directory will soon be a bad idea.

Fortunately the other two checks should be quite sufficient.