Exit 1 if staticDir not provided or not a valid path.
Exit 1 if staticDir not provided or not a valid path.

[#87579742]

cloudfoundry-incubator/switchboard,cloudfoundry-incubator/switchboard,cloudfoundry-incubator/switchboard,cloudfoundry-incubator/switchboard