It is possible to create sane configuration where $pins{controls} has not yet been initialised causing an internal error