Revert "PTFM-12233 Support for dx build --remote --run"

This reverts commit 549e2cbfb9377ce08dc97ba80b68a77d5131eac1.