Prevent redis failure if no redis connection details present

Temporary solution for missing env vars in precompile process.