Prior refactoring passes missed a corner case. Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>