update expand-pname to return nil if unsuccessful, add
expand-pname-maybe for old behavior (returns orig arg if failed)