My thoughts
What your boss said was to tell you that you don't have to do so but it doesn't mean it was bad for you to do so - some managers like to say things like this to clarify in case employees feel they have to work this hard. I don't see any problems with your answer.