fix: choose the correct app when a named remote is specified in the remote ssh client
fix: choose the correct app when a named remote is specified in the remote ssh client

Closes #4838
claytonbrown/dokku,dokku/dokku,dokku/dokku,dokku/dokku,claytonbrown/dokku,dokku/dokku,claytonbrown/dokku,dokku/dokku,claytonbrown/dokku,claytonbrown/dokku,claytonbrown/dokku,claytonbrown/dokku,claytonbrown/dokku,dokku/dokku,dokku/dokku,dokku/dokku