os.path.dirname returns '' not None in some cases, handle this so inventory can be specified with ./
os.path.dirname returns '' not None in some cases, handle this so inventory can be specified with ./

thaim/ansible,thaim/ansible