Fix upload issues with build directory + no extension files