The if/else is not needed here, and doesn't work with docker 0.9 anyways.