Fix failure on "source /path/to/alias.sh"
Fix failure on "source /path/to/alias.sh"

For me it was failing with
  dirname: illegal option -- b
  usage: dirname string [...]

This since `source ...` didn't pass the file path in $0, but it did in BASH_SOURCE[0]
asagage/aws-mfa-script