Same thing happened to me since the update I installed 2 days ago in my Nexus 5x. Really frustrating. Same cable I used till now, which worked perfectly so far. After the update, it just stopped working, just opens up in my phone instead. Will try out your workaround and see.