Fix $redis will be nil in development