BUG Fix logic in deployer detection