properly detect localhost in EvmDatabase

https://bugzilla.redhat.com/show_bug.cgi?id=1050211
Merge pull request #737 from kbrock/evm_database_detect_local

properly detect localhost