Hermione really did need to catch up with homework. So, technically, it wasn’t a lie, but she also needed to use the time Malfoy was away from the castle in the best way possible. She needed to find out what he was working on and therefore had spent the majority of the last days alone in the library. Since it was Christmas break, almost nobody she knew was around, except for Neville, but he avoided studying in the library currently.