Fixes nilClass bug for Sinatra apps without views

Resolves issue #96 by returning a default empty array if the preceding conditional fails.