Fix support for force_push

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>