Rearranged package.name check to avoid crash

Buildozer would previously crash if a package name was '', as it checked
for zero length *and* tried to check if the first character was a
number.