Fixed a bug in getProperty(String key) that assign any property value to
defaultContextName