Fix deployment in a subdirectory