How could I deal with this issue.

also check this out fly deploys are failing. Remote builder failing to build. - #22 by jphenow

seems the logic has been improved.