Fixed OctopusProperties to check if a key exists.