Fix segfault on non-implemented port