The following code will return the player itself when inside the vehicle as driver, and the actual vehicle when player is in another seat:
vehicle player
Intentional or not, this disables the functionality of the vehicle command as there is no way to refrence the vehicle the driver is in.
EDIT:
Apparently everything works as it should and the error was just my retardness. This ticket is obsolete.