options: Validate that porttree exists before using it