Fixed an exception on startup

The GetProperty method throws when the key was missing and this was
causing an unhandled exception on startup.  Switched to TryGetProperty
to avoid it