Add a call to Super::SetupInputComponent before your binding actions in SetupInputComponent; or pull the functionality from APlayerController::SetupInputComponent into your overriding method. Creation of the InputComponent occurs there, so your InputComponent likely is never created, thus the if(InputComponent) check never passes.
See: Runtime/Engine/Private/PlayerController.h
lines 2242 - 2256
The input component is created at line 2247