Guard sphinx recipe so it can run before deploy

Sphinx recipe blows up if run before the app is deployed, which leaves the environment in a red state which prevents deploy!  This is the solution we've been using for the past couple years at MUBI.