Removing DockerCmd type-based conditional from build loop

Also resulting in the removal of the Type() function from the DockerCmd
interface