You're right about that, there is virtually no movement in either cable, the only way to tug on that cable (either side) is to grab the bits in the photo.
So, it's best not to attach the junction box at all? Just let it all move freely, it's impossible for it to move from that joist anyway.