CGI: make sure the Interpreter can be used, otherwise use status 500

Signed-off-by: Eduardo Silva <edsiper@gmail.com>