state police have been known to be wrong
read this thread
https://www.ar15.com/forums/t_8_29/284452_MD_Transporting_Laws__banned__Assault_Pistols___now_w_SB281_FAQ_pg3.html
it has the law, and it states very stringent requirements for transporting
your description doesnt seem to fit any of them
but hey, IANAL