avoid error message for basename when application arg is not specified