Well, there's an exception for moving from one place of abode to another:
§ 6106. Firearms not to be carried without a license.
(a) Offense defined.--Any person who carries a firearm in any vehicle or any person who carries a firearm concealed on or about his person, except in his place of abode or fixed place of business, without a valid and lawfully issued license under this chapter commits a felony of the third degree.
(b) Exceptions.--The provisions of subsection (a) shall not apply to:
(8) Any person while carrying a firearm unloaded and in a secure wrapper from the place of purchase to his home or place of business, or to a place of repair or back to his home or place of business, or in moving from one place of abode or business to another or from his home to a vacation or recreational home or dwelling or back, or to recover stolen property under section 6111.1(b)(4) (relating to Pennsylvania State Police) or to a location to which the person has been directed to surrender firearms under 23 Pa.C.S. § 6108 (relating to relief) or back upon return of the surrendered firearm.
There's also the fact that traveling from Virginia to Pennsylvania is interstate travel, and is thus covered by the GOPA.