Simplify tapas.conf addition, correctly check for the file bin/composer,  and shorten up logic for some checks.