check ip before dereferencing (can only happen when called to mount root)