Extract resource path building into private method