Fix bug where postgres was not starting by default
Fix bug where postgres was not starting by default

Corrected the if statement. Also moved the check for TMP_DIR so if
start|restart is provided, a TMP_DIR is required else exit.

ContinuumIO/odo,blaze/odo,ContinuumIO/odo,quantopian/odo,quantopian/odo,blaze/odo