exiting 1 if appscale is provided with an invalid directive