Fix a nil reference error in premake.getlinks(); return "." for empty directory paths instead