How does the code get the hash value of the bundle directory?