add env.$rack_env.local and two parsing fixes

see commit messages…
let's leave off the rescue nil -- if you put something in that doesn't parse right you probably should know