Makeshift fix for bug preventing creating of init directories